home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
United Public Domain Gold 2
/
United Public Domain Gold 2.iso
/
utilities
/
pu380.dms
/
pu380.adf
/
CassEti
/
CassEti.ASCII
< prev
next >
Wrap
Text File
|
1990-07-02
|
19KB
|
967 lines
OPENW #1,0,0,640,200,0,4100
TITLEW #1,"Casseti 1.1"
path$="Df0:"
DIM men$(61),atitle$(25),btitle$(25)
' SETCOLOR 0,&HAF
' SETCOLOR 1,&H0
' SETCOLOR 2,&H1F
' SETCOLOR 3,&HFF0
CLOSE #1
ON ERROR GOSUB oops
@init
@menu
@screen
@adisplay_update
@bdisplay_update
@action
> PROCEDURE init
num$=" "
tim$="C 90"
typ$="Cr/O2"
quala$="Stereo"
qualb$="Stereo"
norea$="DolbyC"
noreb$="DolbyC"
datea$=" "
dateb$=" "
backa$=STRING$(30," ")
backb$=STRING$(30," ")
adisnr%=1
bdisnr%=1
FOR z=1 TO 25
atitle$(z)=STRING$(33," ")
btitle$(z)=STRING$(33," ")
NEXT z
RETURN
> PROCEDURE action
DO
ON MENU
IF MOUSEK=1 OR ASC(INKEY$)=32
IF MOUSEX>271 AND MOUSEX<296
IF MOUSEY>29 AND MOUSEY<45 AND adisnr%>1
adisnr%=adisnr%-1
@adisplay_update
ENDIF
IF MOUSEY>63 AND MOUSEY<79 AND adisnr%<25
adisnr%=adisnr%+1
@adisplay_update
ENDIF
IF MOUSEY>133 AND MOUSEY<149 AND bdisnr%>1
bdisnr%=bdisnr%-1
@bdisplay_update
ENDIF
IF MOUSEY>167 AND MOUSEY<183 AND bdisnr%<25
bdisnr%=bdisnr%+1
@bdisplay_update
ENDIF
ENDIF
IF MOUSEX>300 AND MOUSEX<610
IF MOUSEY>46 AND MOUSEY<62
@entertitlea
ENDIF
IF MOUSEY>150 AND MOUSEY<166
@entertitleb
ENDIF
ENDIF
ENDIF
LOOP
RETURN
> PROCEDURE menu
RESTORE menuedaten
FOR m=0 TO 60
READ men$(m)
NEXT m
menuedaten:
DATA Casseti , About , Quit ,
DATA Disk , Load , Save , Delete ,
DATA Time , C45 , C60 , C90 , C110 , C120 , Enter ,
DATA Type , Ferro , Cr/O2 , Metal , Enter ,
DATA Quality , A Stereo , A Mono , A None ,-----------, B Stereo , B Mono , B None ,
DATA Noise-Red. , A DolbyB , A DolbyC , A DolbyX , A None ,------------, B DolbyB , B DolbyC , B DolbyX , B None ,
DATA Data , A Delete , A Insert , A Clear , -A Date , -A Back ,------------, B Delete , B Insert , B Clear , -B Date , -B Back ,
DATA Print , Data ,
DATA Number , Enter ,
MENU men$()
MENU 12,336
MENU 19,336
MENU 24,336
MENU 28,336
MENU 34,336
MENU 39,336
ON MENU GOSUB choice
RETURN
> PROCEDURE screen
COLOR 1
LINE 1,106,639,106
COLOR 3
BOX 300,46,610,62
BOX 271,46,296,62
COLOR 1
BOX 300,29,610,45
BOX 271,29,296,45
BOX 300,63,610,79
BOX 271,63,296,79
BOX 266,27,614,81
BOX 266,87,614,101
BOX 266,111,614,125
PRINT AT(37,11);"Back:"
PRINT AT(37,14);"Back:"
PRINT AT(4,11);"Number"
BOX 38,112,65,124
PRINT AT(6,14);num$
PRINT AT(15,11);"Time: ";tim$
PRINT AT(15,14);"Type: ";typ$
PRINT AT(3,4);"***** Quality: ";quala$
BOX 88,30,233,46
PRINT AT(3,5);"* *"
PRINT AT(3,6);"***** Date:"
BOX 88,46,233,62
PRINT AT(3,7);"* *"
PRINT AT(3,8);"* * NoiseR.: ";norea$
BOX 88,62,233,78
PRINT AT(3,17);"**** Quality: ";qualb$
BOX 88,134,233,150
PRINT AT(3,18);"* *"
PRINT AT(3,19);"**** Date:"
BOX 88,150,233,166
PRINT AT(3,20);"* *"
PRINT AT(3,21);"**** NoiseR.: ";noreb$
BOX 88,166,233,182
FILL 267,28
LINE 275,41,283,33
LINE 284,33,292,41
LINE 275,41,292,41
FILL 283,38
LINE 275,67,283,75
LINE 284,75,292,67
LINE 275,67,292,67
FILL 283,72
PRINT AT(30,6);STRING$(50," ")
GET 266,27,614,81,display$
PUT 266,131,display$
RETURN
> PROCEDURE adisplay_update
IF adisnr%<10
adisstr$="0"+STR$(adisnr%)
ELSE
adisstr$=STR$(adisnr%)
ENDIF
IF adisnr%>1
PRINT AT(41,4);atitle$(adisnr%-1)
ELSE
PRINT AT(41,4);STRING$(33," ")
ENDIF
PRINT AT(41,6);atitle$(adisnr%)
PRINT AT(35,6);adisstr$
IF adisnr%<25
PRINT AT(41,8);atitle$(adisnr%+1)
ELSE
PRINT AT(41,8);STRING$(33," ")
ENDIF
PRINT AT(43,11);backa$
PRINT AT(19,6);datea$
PAUSE 2
RETURN
> PROCEDURE bdisplay_update
IF bdisnr%<10
bdisstr$="0"+STR$(bdisnr%)
ELSE
bdisstr$=STR$(bdisnr%)
ENDIF
IF bdisnr%>1
PRINT AT(41,17);btitle$(bdisnr%-1)
ELSE
PRINT AT(41,17);STRING$(33," ")
ENDIF
PRINT AT(41,19);btitle$(bdisnr%)
PRINT AT(35,19);bdisstr$
IF bdisnr%<25
PRINT AT(41,21);btitle$(bdisnr%+1)
ELSE
PRINT AT(41,21);STRING$(33," ")
ENDIF
PRINT AT(43,14);backb$
PRINT AT(19,19);dateb$
PAUSE 2
RETURN
> PROCEDURE choice
m%=MENU(0)
SELECT m%
CASE 1
@about
CASE 2
@leave
CASE 5
@load
CASE 6
@save
CASE 7
@delete
CASE 10
tim$="C 45"
PRINT AT(21,11);tim$
MENU 10,336
MENU 11,80
MENU 12,80
MENU 13,80
MENU 14,80
MENU 15,80
CASE 11
tim$="C 60"
PRINT AT(21,11);tim$
MENU 11,336
MENU 10,80
MENU 12,80
MENU 13,80
MENU 14,80
MENU 15,80
CASE 12
tim$="C 90"
PRINT AT(21,11);tim$
MENU 12,336
MENU 10,80
MENU 11,80
MENU 13,80
MENU 14,80
MENU 15,80
CASE 13
tim$="C110"
PRINT AT(21,11);tim$
MENU 13,336
MENU 10,80
MENU 11,80
MENU 12,80
MENU 14,80
MENU 15,80
CASE 14
tim$="C120"
PRINT AT(21,11);tim$
MENU 14,336
MENU 10,80
MENU 11,80
MENU 12,80
MENU 13,80
MENU 15,80
CASE 15
PRINT AT(2,2);"Enter Time: ";
FORM INPUT 4,tim$
PRINT AT(2,2);STRING$(16," ")
IF tim$=""
tim$=" "
ENDIF
IF LEN(tim$)<4
tim$=tim$+STRING$(4-LEN(tim$)," ")
ENDIF
PRINT AT(21,11);tim$
MENU 10,80
MENU 11,80
MENU 12,80
MENU 13,80
MENU 14,80
CASE 18
typ$="Ferro"
PRINT AT(21,14);typ$
MENU 18,336
MENU 19,80
MENU 20,80
MENU 21,80
CASE 19
typ$="Cr/O2"
PRINT AT(21,14);typ$
MENU 19,336
MENU 18,80
MENU 20,80
MENU 21,80
CASE 20
typ$="Metal"
PRINT AT(21,14);typ$
MENU 20,336
MENU 18,80
MENU 19,80
MENU 21,80
CASE 21
PRINT AT(2,2);"Enter Type: ";
FORM INPUT 5,typ$
IF typ$=""
typ$=" "
ENDIF
IF LEN(typ$)<5
typ$=typ$+STRING$(5-LEN(typ$)," ")
ENDIF
PRINT AT(2,2);STRING$(17," ")
PRINT AT(21,14);typ$
MENU 18,80
MENU 19,80
MENU 20,80
CASE 24
quala$="Stereo"
PRINT AT(22,4);quala$
MENU 24,336
MENU 25,80
MENU 26,80
CASE 25
quala$=" Mono "
PRINT AT(22,4);quala$
MENU 25,336
MENU 24,80
MENU 26,80
CASE 26
quala$=" "
PRINT AT(22,4);quala$
MENU 26,336
MENU 24,80
MENU 25,80
CASE 28
qualb$="Stereo"
PRINT AT(22,17);qualb$
MENU 28,336
MENU 29,80
MENU 30,80
CASE 29
qualb$=" Mono "
PRINT AT(22,17);qualb$
MENU 29,336
MENU 28,80
MENU 30,80
CASE 30
qualb$=" "
PRINT AT(22,17);qualb$
MENU 30,336
MENU 28,80
MENU 29,80
CASE 33
norea$="DolbyB"
PRINT AT(22,8);norea$
MENU 33,336
MENU 34,80
MENU 35,80
MENU 36,80
CASE 34
norea$="DolbyC"
PRINT AT(22,8);norea$
MENU 34,336
MENU 33,80
MENU 35,80
MENU 36,80
CASE 35
norea$="DolbyX"
PRINT AT(22,8);norea$
MENU 35,336
MENU 33,80
MENU 34,80
MENU 36,80
CASE 36
norea$=" "
PRINT AT(22,8);norea$
MENU 36,336
MENU 33,80
MENU 34,80
MENU 35,80
CASE 38
noreb$="DolbyB"
PRINT AT(22,21);noreb$
MENU 38,336
MENU 39,80
MENU 40,80
MENU 41,80
CASE 39
noreb$="DolbyC"
PRINT AT(22,21);noreb$
MENU 39,336
MENU 38,80
MENU 40,80
MENU 41,80
CASE 40
noreb$="DolbyX"
PRINT AT(22,21);noreb$
MENU 40,336
MENU 38,80
MENU 39,80
MENU 41,80
CASE 41
noreb$=" "
PRINT AT(22,21);noreb$
MENU 41,336
MENU 38,80
MENU 39,80
MENU 40,80
CASE 44
@deletea
CASE 45
@inserta
CASE 46
@cleara
CASE 47
@datea
CASE 48
@backa
CASE 50
@deleteb
CASE 51
@insertb
CASE 52
@clearb
CASE 53
@dateb
CASE 54
@backb
CASE 57
@print_data
CASE 60
@number
ENDSELECT
RETURN
> PROCEDURE deletea
FOR z=adisnr% TO 24
atitle$(z)=atitle$(z+1)
NEXT z
atitle$(25)=STRING$(33," ")
@adisplay_update
RETURN
> PROCEDURE deleteb
FOR z=bdisnr% TO 24
btitle$(z)=btitle$(z+1)
NEXT z
btitle$(25)=STRING$(33," ")
@bdisplay_update
RETURN
> PROCEDURE entertitlea
atitle$=atitle$(adisnr%)
PRINT AT(41,6);STRING$(33," ")
PRINT AT(41,6);
FORM INPUT 33,atitle$(adisnr%)
IF atitle$(adisnr%)=""
atitle$(adisnr%)=atitle$
ELSE
rest%=33-LEN(atitle$(adisnr%))
atitle$(adisnr%)=atitle$(adisnr%)+STRING$(rest%," ")
ENDIF
IF adisnr%<25
adisnr%=adisnr%+1
ENDIF
@adisplay_update
RETURN
> PROCEDURE entertitleb
btitle$=btitle$(bdisnr%)
PRINT AT(41,19);STRING$(33," ")
PRINT AT(41,19);
FORM INPUT 33,btitle$(bdisnr%)
IF btitle$(bdisnr%)=""
btitle$(bdisnr%)=btitle$
ELSE
rest%=33-LEN(btitle$(bdisnr%))
btitle$(bdisnr%)=btitle$(bdisnr%)+STRING$(rest%," ")
ENDIF
IF bdisnr%<25
bdisnr%=bdisnr%+1
ENDIF
@bdisplay_update
RETURN
> PROCEDURE inserta
d$=STRING$(33," ")
IF atitle$(25)<>d$
ALERT 0,"Title Nr.25 will be lost !",1,"Do it|Cancel",cho%
IF cho%=2
GOTO insertaend
ENDIF
ENDIF
FOR z=24 TO adisnr% STEP -1
atitle$(z+1)=atitle$(z)
NEXT z
atitle$(adisnr%)=d$
@adisplay_update
insertaend:
RETURN
> PROCEDURE insertb
d$=STRING$(33," ")
IF btitle$(25)<>d$
ALERT 0,"Title Nr.25 will be lost !",1,"Do it|Cancel",cho%
IF cho%=2
GOTO insertbend
ENDIF
ENDIF
FOR z=24 TO bdisnr% STEP -1
btitle$(z+1)=btitle$(z)
NEXT z
btitle$(bdisnr%)=d$
@bdisplay_update
insertbend:
RETURN
> PROCEDURE cleara
ALERT 0,"All data on side A|will be lost !",1,"Okay|Cancel",cho%
IF cho%=1
FOR a=1 TO 25
atitle$(a)=STRING$(33," ")
NEXT a
backa$=STRING$(34," ")
datea$=" "
@adisplay_update
ENDIF
RETURN
> PROCEDURE clearb
ALERT 0,"All data on side B|will be lost !",1,"Okay|Cancel",cho%
IF cho%=1
FOR a=1 TO 25
btitle$(a)=STRING$(33," ")
NEXT a
backb$=STRING$(34," ")
dateb$=" "
@bdisplay_update
ENDIF
RETURN
> PROCEDURE save
FILESELECT "Save Data","Save",path$,file$
IF file$=""
GOTO end.save
ENDIF
IF EXIST(file$)=-1
ALERT 0,"File already exists !|Continue?|",1,"Go on!|Cancel",cho%
IF cho%=2
GOTO end.save
ENDIF
ENDIF
OPEN "O",#1,file$
IF errno<>0
GOTO end.save
ENDIF
@get_path
PRINT #1,"*"
PRINT #1,num$
PRINT #1,tim$
PRINT #1,typ$
PRINT #1,quala$
PRINT #1,norea$
PRINT #1,datea$
PRINT #1,backa$
FOR a=1 TO 25
PRINT #1,atitle$(a)
NEXT a
PRINT #1,qualb$
PRINT #1,noreb$
PRINT #1,dateb$
PRINT #1,backb$
FOR b=1 TO 25
PRINT #1,btitle$(b)
NEXT b
CLOSE #1
ALERT 0,"Datas saved !",1,"Okay",cho%
end.save:
RETURN
> PROCEDURE load
FILESELECT "Load Data","Load",path$,file$
IF file$=""
GOTO end.load
ENDIF
IF EXIST(file$)=0
ALERT 0,"File doesn't exist !|",1,"Okay!",cho%
GOTO end.load
ENDIF
OPEN "I",#1,file$
INPUT #1,mark$
IF mark$<>"*"
ALERT 0,"Wrong Data !|",1,"Okay!",cho%
GOTO end.load
ENDIF
@get_path
INPUT #1,num$
INPUT #1,tim$
INPUT #1,typ$
INPUT #1,quala$
INPUT #1,norea$
INPUT #1,datea$
INPUT #1,backa$
FOR a=1 TO 25
INPUT #1,atitle$(a)
NEXT a
INPUT #1,qualb$
INPUT #1,noreb$
INPUT #1,dateb$
INPUT #1,backb$
FOR b=1 TO 25
INPUT #1,btitle$(b)
NEXT b
CLOSE #1
PRINT AT(6,14);num$
@adisplay_update
@bdisplay_update
SELECT tim$
CASE "C 45"
PRINT AT(21,11);tim$
MENU 10,336
MENU 11,80
MENU 12,80
MENU 13,80
MENU 14,80
MENU 15,80
CASE "C 60"
PRINT AT(21,11);tim$
MENU 11,336
MENU 10,80
MENU 12,80
MENU 13,80
MENU 14,80
MENU 15,80
CASE "C 90"
PRINT AT(21,11);tim$
MENU 12,336
MENU 10,80
MENU 11,80
MENU 13,80
MENU 14,80
MENU 15,80
CASE "C110"
PRINT AT(21,11);tim$
MENU 13,336
MENU 10,80
MENU 11,80
MENU 12,80
MENU 14,80
MENU 15,80
CASE "C120"
PRINT AT(21,11);tim$
MENU 14,336
MENU 10,80
MENU 11,80
MENU 12,80
MENU 13,80
MENU 15,80
CASE " "
PRINT AT(21,11);tim$
MENU 15,336
MENU 10,80
MENU 11,80
MENU 12,80
MENU 13,80
MENU 14,80
ENDSELECT
IF typ$="Ferro"
PRINT AT(21,14);typ$
MENU 18,336
MENU 19,80
MENU 20,80
MENU 21,80
ENDIF
IF typ$="Cr/O2"
PRINT AT(21,14);typ$
MENU 19,336
MENU 18,80
MENU 20,80
MENU 21,80
ENDIF
IF typ$="Metal"
PRINT AT(21,14);typ$
MENU 20,336
MENU 18,80
MENU 19,80
MENU 21,80
ENDIF
IF typ$=" "
PRINT AT(21,14);typ$
MENU 21,336
MENU 18,80
MENU 19,80
MENU 20,80
ENDIF
IF quala$="Stereo"
PRINT AT(22,4);quala$
MENU 24,336
MENU 25,80
MENU 26,80
ENDIF
IF quala$=" Mono "
PRINT AT(22,4);quala$
MENU 25,336
MENU 24,80
MENU 26,80
ENDIF
IF quala$=" "
PRINT AT(22,4);quala$
MENU 26,336
MENU 24,80
MENU 25,80
ENDIF
IF qualb$="Stereo"
PRINT AT(22,17);qualb$
MENU 28,336
MENU 29,80
MENU 30,80
ENDIF
IF qualb$=" Mono "
PRINT AT(22,17);qualb$
MENU 29,336
MENU 28,80
MENU 30,80
ENDIF
IF qualb$=" "
PRINT AT(22,17);qualb$
MENU 30,336
MENU 28,80
MENU 29,80
ENDIF
IF norea$="DolbyB"
PRINT AT(22,8);norea$
MENU 33,336
MENU 34,80
MENU 35,80
MENU 36,80
ENDIF
IF norea$="DolbyC"
PRINT AT(22,8);norea$
MENU 34,336
MENU 33,80
MENU 35,80
MENU 36,80
ENDIF
IF norea$="DolbyX"
PRINT AT(22,8);norea$
MENU 35,336
MENU 33,80
MENU 34,80
MENU 36,80
ENDIF
IF norea$=" "
PRINT AT(22,8);norea$
MENU 36,336
MENU 33,80
MENU 34,80
MENU 35,80
ENDIF
IF noreb$="DolbyB"
PRINT AT(22,21);noreb$
MENU 38,336
MENU 39,80
MENU 40,80
MENU 41,80
ENDIF
IF noreb$="DolbyC"
PRINT AT(22,21);noreb$
MENU 39,336
MENU 38,80
MENU 40,80
MENU 41,80
ENDIF
IF noreb$="DolbyX"
PRINT AT(22,21);noreb$
MENU 40,336
MENU 38,80
MENU 39,80
MENU 41,80
ENDIF
IF noreb$=" "
PRINT AT(22,21);noreb$
MENU 41,336
MENU 38,80
MENU 39,80
MENU 40,80
ENDIF
end.load:
RETURN
> PROCEDURE delete
FILESELECT "Delete File","Delete",path$,file$
IF file$=""
GOTO end.del
ELSE IF EXIST(file$)=0
ALERT 0,"File doesn't exist !|",1,"Okay!",cho%
GOTO end.del
ELSE
OPEN "I",#1,file$
INPUT #1,mark$
CLOSE #1
IF mark$<>"*"
ALERT 0,"File doesn't belong|to Casseti !!",1,"Go on!|Cancel",cho%
IF cho%=2
GOTO end.del
ENDIF
ENDIF
ALERT 0,"Do you really want me|to kill "+file$+" ?|",1,"Kill|Cancel",cho%
IF cho%=2
GOTO end.del
ENDIF
@get_path
KILL file$
IF errno<>0
GOTO end.del
ENDIF
ENDIF
end.del:
RETURN
> PROCEDURE oops
ON ERROR GOSUB oops
ALERT 0,ERR$(ERR),1,"Okay!",cho%
errno=ERR
RESUME NEXT
RETURN
> PROCEDURE datea
dates$=datea$
PRINT AT(41,6);STRING$(33," ")
PRINT AT(38,2);"Please enter date for side A !"
PRINT AT(41,6);
FORM INPUT 10,datea$
IF datea$=""
datea$=dates$
ENDIF
PRINT AT(19,6);STRING$(10," ")
PRINT AT(19,6);datea$
PRINT AT(38,2);STRING$(33," ")
PRINT AT(41,6);atitle$(adisnr%)
RETURN
> PROCEDURE backa
backs$=backa$
PRINT AT(41,6);STRING$(35," ")
PRINT AT(38,2);"Please enter Back-Text for side A !"
PRINT AT(42,6);
FORM INPUT 30,backa$
IF backa$=""
backa$=backs$
ENDIF
backa$=backa$+STRING$(30-LEN(backa$)," ")
PRINT AT(43,11);STRING$(30," ")
PRINT AT(43,11);backa$
PRINT AT(38,2);STRING$(35," ")
PRINT AT(41,6);atitle$(adisnr%)
RETURN
> PROCEDURE dateb
dates$=dateb$
PRINT AT(41,19);STRING$(33," ")
PRINT AT(38,24);"Please enter date for side A !";
PRINT AT(41,19);
FORM INPUT 10,dateb$
IF dateb$=""
dateb$=dates$
ENDIF
PRINT AT(19,19);STRING$(10," ")
PRINT AT(19,19);dateb$
PRINT AT(38,24);STRING$(33," ");
PRINT AT(41,19);btitle$(bdisnr%)
RETURN
> PROCEDURE backb
backs$=backb$
PRINT AT(41,19);STRING$(35," ")
PRINT AT(38,24);"Please enter Back-Text for side B !";
PRINT AT(42,19);
FORM INPUT 30,backb$
IF backb$=""
backb$=backs$
ENDIF
backb$=backb$+STRING$(30-LEN(backb$)," ")
PRINT AT(43,14);STRING$(30," ")
PRINT AT(43,14);backb$
PRINT AT(38,24);STRING$(35," ");
PRINT AT(41,19);btitle$(bdisnr%)
RETURN
> PROCEDURE number
nums$=num$
PRINT AT(2,2);"Enter number: ";
FORM INPUT 2,num$
IF num$=""
num$=nums$
ENDIF
IF LEN(num$)=1
num$=num$+" "
ENDIF
PRINT AT(2,2);STRING$(16," ")
PRINT AT(6,14);num$
RETURN
> PROCEDURE print_data
LPRINT "|";STRING$(39,"-");"|"
LPRINT " Time: ";tim$;SPC(4);" Nr: ";num$;SPC(4);" Type: ";typ$
LPRINT " Side 1 : ";quala$;" | ";norea$;" | ";datea$
LPRINT " Side 2 : ";qualb$;" | ";noreb$;" | ";dateb$
LPRINT "|";STRING$(39,"-");"|"
LPRINT " 1) ";backa$;" ";LEFT$(num$)
LPRINT " 2) ";backb$;" ";MID$(num$,2,1)
LPRINT "|";STRING$(39,"-");"|"
FOR z=1 TO 25
LPRINT CHR$(18);" ";CHR$(15);
LPRINT atitle$(z);CHR$(18);"|";CHR$(15);btitle$(z)
IF z=15
LPRINT CHR$(18);
LPRINT "|";STRING$(39,"-");"|"
ENDIF
NEXT z
LPRINT CHR$(18);
FOR a=1 TO 4
LPRINT
NEXT a
LPRINT "|";STRING$(39,"-");"|"
RETURN
> PROCEDURE get_path
FOR f=1 TO LEN(file$)
IF MID$(file$,f,1)=":"
path$=LEFT$(file$,f)
ENDIF
NEXT f
RETURN
> PROCEDURE about
GET 95,45,545,155,sa$
COLOR 2
FOR a=98 TO 542
PLOT a,49
PLOT a,48
NEXT a
FOR a=48 TO 152
PLOT 541,a
PLOT 542,a
PLOT 543,a
PLOT 544,a
NEXT a
FOR a=542 TO 98 STEP -1
PLOT a,151
PLOT a,152
NEXT a
FOR a=152 TO 48 STEP -1
PLOT 99,a
PLOT 98,a
PLOT 97,a
PLOT 96,a
NEXT a
FOR a=1 TO 221
COLOR 0
LINE 99+a,50,99+a,150
LINE 541-a,50,541-a,150
NEXT a
PRINT AT(29,7);"C A S S E T I V 1.1"
PRINT AT(29,8);"---------------------"
PRINT AT(23,10);"Casseti is PublicDomain-Software."
PRINT AT(26,11);"It is written in GfA-Basic."
PRINT AT(15,12);"If you like it, I would be very happy about a small"
PRINT AT(22,13);"donation (money or disks [3,5/5,25])."
PRINT AT(32,15);"Thorsten Ludwig"
PRINT AT(33,16);"Goethestr. 103"
PRINT AT(31,17);"D-6730 Neustadt 17";SPC(13);"Click"
REPEAT
UNTIL MOUSEK
FOR a=221 TO 1 STEP -1
COLOR 0
LINE 99+a,50,99+a,150
LINE 541-a,50,541-a,150
NEXT a
FOR a=48 TO 152 STEP 1
PLOT 99,a
PLOT 98,a
PLOT 97,a
PLOT 96,a
NEXT a
FOR a=98 TO 542 STEP 1
PLOT a,151
PLOT a,152
NEXT a
FOR a=152 TO 48 STEP -1
PLOT 541,a
PLOT 542,a
PLOT 543,a
PLOT 544,a
NEXT a
FOR a=542 TO 98 STEP -1
PLOT a,49
PLOT a,48
NEXT a
PUT 95,45,sa$
RETURN
> PROCEDURE leave
ALERT 0,"Are you sure you want|to quit ?",1,"Quit|Cancel",cho%
IF cho%=1
QUIT
ENDIF
RETURN